package com.hk.employeemanagementsystem.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hk.employeemanagementsystem.entity.UserEntity;

import java.util.List;

/**
 * @author by 何坤
 * @Classname UserEntityService
 * @Description TODO
 * @Date 2019/12/4 17:01
 */
public interface UserEntityService extends IService<UserEntity> {
    UserEntity getMainInfo(String phone);
    List<UserEntity> selectUserByKeyword(String keyword);
    void updateUserEnableById(Integer userId, Boolean enable);
    UserEntity getUserById(Integer userId);
    int addRolesForUser(String phone, Integer[] rids);
}
